package net.hn.hnms.biz.plan.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 班次设置表
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2022-08-17
 */
@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "dim_shift", schema = "public", catalog = "huaneng-smart-mine")
public class DimShift extends PlanBaseModel implements Serializable {
	/**
	* 主键ID
	*/
	@TableId(type = IdType.ASSIGN_UUID)
	private String shiftId;

	/**
	* 班次名称
	*/
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private String shiftName;

	/**
	* 开始时间
	*/
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private Date shiftStartTime;

	/**
	* 结束时间
	*/
	@TableField(updateStrategy= FieldStrategy.IGNORED)
	private Date shiftEndTime;
}